package com.example.rocketmqp1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.cloud.stream.messaging.Source;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableBinding({Source.class, Sink.class})
@EnableScheduling
@SpringBootApplication
public class RocketMqp1Application {

    public static void main(String[] args) {
        SpringApplication.run(RocketMqp1Application.class, args);
    }

}